package com.songcan.oauth.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.songcan.common.vo.MenuVo;
import com.songcan.model.oauth.SysMenu;
import com.songcan.oauth.mapper.SysMenuMapper;
import com.songcan.oauth.service.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单权限表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-04-29
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {


    @Override
    public List<SysMenu> selectMenuByUserId(List<String> roleIds,Long id,Integer type) {
        return  baseMapper.selectMenuByUserId(roleIds,id,type);
    }
}
